<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt"  uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="css/form.css" />
<style>
#localImag{ margin-left: 165px; }
</style>
<script src="js/img.js" type="text/javascript"></script> 

</head>
<body>
<%@ include file="backstage/bscommon1.jsp" %>
<%@ include file="backstage/bscommon2.jsp" %>
<div id="wrapper">

<form action="CommodityServlet?m=save" method="post" enctype="multipart/form-data">
	<fieldset>
	    <h2 class="account">请输入您添加的商品信息</h2>
	    	<ul>
		     <li><label><span class="required-char">* </span>商品编号：</label>
		     		<input type="text" name="Number"  class="large" /></li>
		    <li><label><span class="required-char">* </span>显示标题：</label><input type="text" name="Name"  /></li>
		    <li><label>详细标题：</label><input type="text" name="Title" /></li>
		    <li><label><span class="required-char">* </span>商品价钱：</label><input type="text" name="Price" /></li>
		    <!--  <li><label>图片URL：</label><input type="text" name="Url" value="img_shop/clnz_2.jpg"/></li>-->
		     <!--<li><label>详细图片1：</label><input type="text" name="Img_1" value="img_shop/clnz_2.jpg"/></li>
		      	<li><label>详细图片2：</label><input type="text" name="Img_2" value="img_shop/clnz_2.jpg"/></li>
		     <li><label>详细图片3：</label><input type="text" name="Img_3" value="img_shop/clnz_3.jpg"/></li>
		    <li><label>详细图片4：</label><input type="text" name="Img_4" value="img_shop/clnz_4.jpg"/></li>
			<li><label>详情介绍：</label><input type="text" name="Minute" /></li>
		     -->
		    
		    
		    <li><label><span class="required-char">* </span>图片URL：</label><input type=file name="Url" id="Url" onchange="javascript:setImagePreview();"> 
			<p><div id="localImag"><img id="preview" width="200" height="200" onclick="pigshow()" /></div></p></li>
		    <li><label>详情图1：</label><input type=file name="Img_1" id="Img_1" onchange="javascript:setImagePreview1();"> 
			<p><div id="localImag"><img id="preview1" width="200" height="200" onclick="pigshow()" /></div></p></li>
			<li><label>详情图2：</label><input type=file name="Img_2" id="Img_2" onchange="javascript:setImagePreview2();"> 
			<p><div id="localImag"><img id="preview2" width="200" height="200" onclick="pigshow()" /></div></p></li>
			<li><label>详情图3：</label><input type=file name="Img_3" id="Img_3" onchange="javascript:setImagePreview3();"> 
			<p><div id="localImag"><img id="preview3" width="200" height="200" onclick="pigshow()" /></div></p></li>
		    <li><label>详情图4：</label><input type=file name="Img_4" id="Img_4" onchange="javascript:setImagePreview4();"> 
			<p><div id="localImag"><img id="preview4" width="200" height="200" onclick="pigshow()" /></div></p></li>
		    <li><label>详情介绍：</label><input type=file name="Minute" id="Minute" onchange="javascript:setImagePreview5();"> 
			<p><div id="localImag"><img id="preview5" width="200" height="200" onclick="pigshow()" /></div></p></li>
		   
		    
			<li><label><span class="required-char">* </span>商品类型：</label>
				<select name="Type">  
				  <option value ="clnz">潮流女装</option>  
				  <option value ="clnanz">潮流男装</option>  
				  <option value="cjwt">精品外套</option>  
				  <option value="jonk">精品男裤</option>  
				  <option value="jpnk">精品女裤</option>  
				  <option value="nstx">男士体恤</option>  
				  <option value="nvtx">女士体恤</option>
				  <option value="lyq">连衣裙</option>  
				  <option value="xlbx">夏凉背心</option>    
				</select> 
		</fieldset>
		<fieldset >
			    <input type="submit" value="确认" class="create_profile" />
			    <a href="bsServlet" style="text-decoration:none;">
			    	<input type="button" value="返回"  class="create_profile" style="margin-left:15px;" />
			    </a>
	    </fieldset>
	    </ul>
	
</form>

</div>



</body>
</html>